package com.binecy;

import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.config.server.EnableConfigServer;

@EnableConfigServer
@SpringBootApplication
public class GitConfigServer {
    public static void main(String[] args) {
        // http://blog.didispace.com/spring-cloud-starter-dalston-3/
        // https://blog.iexxk.com/2018/04/18/springcould-config/


        // http://localhost:9101/config-client/dev/master
        new SpringApplicationBuilder(GitConfigServer.class).web(WebApplicationType.SERVLET).run(args);
    }
}
